/***********************************************************************
	filename: 	DaterOpCreater.h
	created:	18/4/2012
	author:		4Ys
	
	purpose:	Defines a class of Operator Creater class.
*************************************************************************/
#ifndef _DaterOpCreater_h_
#define _DaterOpCreater_h_

#include "DaterTranslator.h"
#include "DaterSingleton.h"
#include <vector>

namespace Dater
{
	/*!
	\brief
		An entity class contains 21 year calendars front and back.
	*/
	class OpCreater : public Singleton<OpCreater>
	{
	public:
		/*!
		\brief
			Constructor for OpCreator class
		*/
		OpCreater();
		
		/*!
		\brief
			a function to generate the order.
		*/
		Translator* generate( char* order );

	private:
		int _transNum;
		std::vector<Translator*> _transVector;
	};

}

#endif